﻿
using Bootstrap5.Abstractions;

using Microsoft.AspNetCore.Components;

namespace Bootstrap5;

/// <summary>
/// Represent a <c>&lt;img></c> element.
/// </summary>
[HtmlTag("img")]
public class Image : BootstrapComponentBase
{
    /// <summary>
    /// Scaled image with the parent element.
    /// </summary>
    [Parameter] [CssClass("img-fluid")] public bool Fluid { get; set; }
    /// <summary>
    /// Give an image a rounded 1px border appearance.
    /// </summary>
    [Parameter] [CssClass("img-thumbnail")] public bool Thumbnail { get; set; }
}
